package com.hznu.jspFinal.service;

import com.hznu.jspFinal.entity.Class;

import java.util.List;

public interface ClassService {

    void insert(Class clazz);

    void delete(Integer id);

    void update(Class clazz);

    Class selectByPrimaryKey(Integer id);

    Class selectByClassName(String name);

    List<Class> selectByMajorId(Integer majorid);

}
